WP_Defender\Component\IP\Global_IP A

Total Complexity 70
Dependencies 5
Dependents 6
Total lines 455
Lines of code 258
Logical lines of code 118
Comment lines 97
Methods 19
Properties 5

Methods 19

Method Rating Maintainability Complexity Lines of code
set_global_ip_list()
A
43 13 51
fetch_global_ip_list()
A
46 11 41
is_show_dashboard_notice()
A
53 9 23
remove_from_blocklist()
A
46 7 40
get_formated_global_ip_list()
S
56 7 18
add_to_global_ip_list()
S
49 6 32
can_blocklist_autosync()
S
71 4 6
init()
S
69 2 6
delete_dashboard_notice_reminder()
S
81 1 3
get_dashboard_notice_reminder()
S
79 1 3
fetch_global_ip_list_updated_time()
S
67 1 9
__construct()
S
73 1 5
is_blocklist_autosync_enabled()
S
82 1 3
is_global_ip_enabled()
S
82 1 3
is_ip_blocked()
S
79 1 3
is_ip_allowed()
S
79 1 3
block_list()
S
82 1 3
allow_list()
S
82 1 3
get_global_ip_list()
S
80 1 3